<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class News extends Model
{
    protected $table = 'article';

    public function category()
    {
        return $this->belongsTo('App\Model\Classify','classify','id');
    }
}
